/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tintuna.sdigger.web.data.statement;

import com.tintuna.sdigger.web.business.statement.StatementBusiness;
import com.tintuna.sdigger.web.business.workers.MerchantWorker;
import com.tintuna.sdigger.web.dao.StatementPaper;
import com.tintuna.sdigger.web.dao.impl.StatementMockImpl;
import com.tintuna.sdigger.web.dao.impl.StatementWData01MockImpl;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

/**
 *
 * @author bsmith
 */
public class StatementMain {
    private MerchantWorker merchantWorker = null;
    private StatementPaper statementDocument;
    private StatementBusiness statementBusiness;

    public StatementMain() {
        createWorkers();
        statementDocument = new StatementWData01MockImpl();//StatementMockImpl();
        statementBusiness = new StatementBusiness(this, statementDocument);        
    }

    private void createWorkers() {
        merchantWorker = new MerchantWorker();
    }
    
    public List<String> getStatementHeader() {
        return statementBusiness.getStatementHeader();
    }

    public List<List<String>> getStatementRows() {
        return statementBusiness.getStatementRows();
    }

}
